﻿--[[
   @brief    descprtion: badge_desc
   @author   hanmanhuang
   @version  1.0
   @date     2016-12-27
--]]

badge_desc = 
{
    module_name = "badge",
    events = 
    {
        {
            c_event = 
            {

            },
            lua_event = 
            {
                {
                    id = badge_event.OPEN_BADGE_WIN,
                    callback = 'badge_control.open_badge_win'
                },
               {
                    id = badge_event.OPEN_BADGE_DETAIL_WIN,
                    callback = 'badge_control.open_badge_detail_win'
                },
                {
                    id = badge_event.OPEN_BADGE_POINTS_WIN,
                    callback = 'badge_control.open_badge_points_win'
                },
            },            
            lua_file = "badge\\control.lua"
        }
    }
}

desc_mgr.add(badge_desc);
ierd_tgp.tpf_ui.Require("badge\\control.lua");
